package com.foxmail.aroundme.boring.service;

import com.foxmail.aroundme.boring.bean.BaseResponse;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by gzl on 2/6/17.
 */

public interface GifService {
    @GET("joke/img/list.from")
    Observable<BaseResponse> getGIFWithParam(@Query("key") String key, @Query("page") int page,
                                             @Query("pagesize") int pagesize, @Query("sort") String sort,
                                             @Query("time") String time);


    @GET("joke/img/text.from")
    Observable<BaseResponse> getNewGIFWithParam(@Query("key") String key, @Query("page") int page,
                                                @Query("pagesize") int pagesize);

}
